<?php
/**
 * Holds abstract class JPGraph
 *
 * @author daantimmer
 *
 * @package Library
 */
/**
 * @todo write comment
 *
 * @author daantimmer
 */
abstract class JPGraph{
	
	protected $values = array();
	
	public final function __construct($values){
		$this->values = $values;
	}
	
	public static function import($files){
		if(is_array($files)){
			foreach($files as $file){
				JPGraph::import($file);
			}
		}else{
			$file = 'jpgraph' . DIRECTORY_SEPARATOR . $files . '.php';
			require_once($file);
		}
			
	}
	
	public abstract function render();
}